package com.rayo.accesscontrollercopy.model.db.dao;


import com.rayo.accesscontrollercopy.model.db.bean.HeartData;

import java.util.List;

/**
 * Created by yanghaojie on 16/7/27.
 */
public interface HeartDao {
    List<HeartData> findAll(String site);

    HeartData findById(String site, int lockid);

    void addAll(List<HeartData> heartDatas);

    void addEvent(HeartData heartData);

    void deleteAll(List<HeartData> eventData);

    void deleteAll();
}
